#coding:utf-8 解决报错
import json
# 自定义录入字段导入快速生成 json->字符串
# org_code|分公司|100|left|center|sum
if __name__ == '__main__':
    json_str = '{"name": "Alice", "age": 25}'
    json_str = '{"公司代码":"0536","公司名称":"襄樊正大农牧食品有限公司","分公司代码":"053622111","分公司名称":"襄阳正大-小龙代养场","农场代码":"411339-0-0","农场名称":"壮又圆管理农场","引种时间":"2024-11-02T00:00:00.000+08:00","来源农场代码":"411339-0-0","来源农场名称":"壮又圆管理农场","来源类型":"转移","周龄":28,"出生周":"2417","品种":"04","数量":1,"RN":117}'
    # decoded_s = json_str.decode('utf-8')
    data = json.loads(json_str)
    print(data)
    for k in data:
        print(k + '|' + k + '|100|left|center|sum|')
